5
6
Compare
Swap
Start visualizing any algorithm to see its time complexity
here.